package day0613.managersystem

/**
  * @program: hadoop
  * @description: 保存worker的基本信息
  * @author: Qiang.Ye
  * @date: 2019-06-15 16:33
  **/
class WorkerInfo(val id :String ,val workerHost :String ,val memory:String,val cores:String) {

  var lastHeartBeat :Long = System.currentTimeMillis()

  override def toString: String = s"WorkerInfo($id,$workerHost,$memory,$cores)"


}
